package com.yocard.yxyd.ui.contract;

import com.yocard.yxyd.base.BasePresenter;
import com.yocard.yxyd.base.BaseView;
import com.yocard.yxyd.http.model.request.OrderListRequest;
import com.yocard.yxyd.http.model.response.OrderListBean;

import java.util.List;

/**
 * Created on 2019/4/3.
 */
public interface OrderListContract {
    interface View extends BaseView {
        void OnfetchOrderList(List<OrderListBean.OrderList> list);
    }

    interface Presenter extends BasePresenter<View> {
        void fetchOrderList(int currentPage, OrderListRequest request);
    }
}
